package com.wk.springboot.spring.bean;

import lombok.Data;

import javax.annotation.PostConstruct;

/**
 * @User admin
 * @Date 2020/11/20 14:36
 **/
@Data
public class Sky {

    /**
     * color
     **/
    private String color;

    @PostConstruct
    private void setColor() {
        this.color = "blue";
    }
}
